package game;

import java.awt.Graphics2D;

public class ObjectsCombat 
{
	ClientStatus status;
	HUD hud;
	boolean acabou;
	int ID;
	
	public ObjectsCombat(ClientStatus status, HUD hud, int ID)
	{
		this.hud = hud;
		this.status = status;
		this.ID = ID;
	}
	public void Update()
	{
		hud.Update();
		status.Update();
		
		acabou = status.OverClient;
	}
	public void Draw(Graphics2D g2d, Camera camera)
	{
		hud.Draw(g2d, camera);
		status.draw(g2d, camera);
		
	}
}